package debuggen;

import java.util.logging.Level;

/**
 * Debug
 * Offer some debug options.
 * @author Danny 
 */
public class Debug {
	
	// Bool, true = debug modes, false otherwise
	public static boolean DEBUGGEN = true;
	
	public static LogWriter logWriter = new LogWriter();
	
	/**
	 * writeMessage
	 * Write a debug message
	 * @param p_strMessage
	 */
	public static void writeMessage(String p_strMessage)
	{
		// Write info to log.
		logWriter.writeMessage(p_strMessage);
	}
	/**
	 * writeMessage
	 * @param p_strMessage
	 * @param p_Level
	 */
	public static void writeMessage(String p_strMessage, Level p_Level)
	{
		// Write info to log.
		logWriter.writeMessage(p_strMessage, p_Level);		
	}
	/**
	 * writeMessage
	 * @param p_strMessage
	 * @param p_Level
	 * @param p_excException
	 */
	public static void writeMessage(String p_strMessage, Level p_Level, Exception p_excException)
	{
		// Write info to log.
		logWriter.writeMessage(p_strMessage, p_Level, p_excException);
	}
}
